Optimal. Leaf size=67 \[ \frac{\sinh ^7\left (a+b x^2\right )}{14 b}+\frac{3 \sinh ^5\left (a+b x^2\right )}{10 b}+\frac{\sinh ^3\left (a+b x^2\right )}{2 b}+\frac{\sinh \left (a+b x^2\right )}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0436878, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {5321, 2633} \[ \frac{\sinh ^7\left (a+b x^2\right )}{14 b}+\frac{3 \sinh ^5\left (a+b x^2\right )}{10 b}+\frac{\sinh ^3\left (a+b x^2\right )}{2 b}+\frac{\sinh \left (a+b x^2\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5321
Rule 2633
Rubi steps
\begin{align*} \int x \cosh ^7\left (a+b x^2\right ) \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \cosh ^7(a+b x) \, dx,x,x^2\right )\\ &=\frac{i \operatorname{Subst}\left (\int \left (1-3 x^2+3 x^4-x^6\right ) \, dx,x,-i \sinh \left (a+b x^2\right )\right )}{2 b}\\ &=\frac{\sinh \left (a+b x^2\right )}{2 b}+\frac{\sinh ^3\left (a+b x^2\right )}{2 b}+\frac{3 \sinh ^5\left (a+b x^2\right )}{10 b}+\frac{\sinh ^7\left (a+b x^2\right )}{14 b}\\ \end{align*}
Mathematica [A] time = 0.025998, size = 67, normalized size = 1. \[ \frac{\sinh ^7\left (a+b x^2\right )}{14 b}+\frac{3 \sinh ^5\left (a+b x^2\right )}{10 b}+\frac{\sinh ^3\left (a+b x^2\right )}{2 b}+\frac{\sinh \left (a+b x^2\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.055, size = 52, normalized size = 0.8 \begin{align*}{\frac{\sinh \left ( b{x}^{2}+a \right ) }{2\,b} \left ({\frac{16}{35}}+{\frac{ \left ( \cosh \left ( b{x}^{2}+a \right ) \right ) ^{6}}{7}}+{\frac{6\, \left ( \cosh \left ( b{x}^{2}+a \right ) \right ) ^{4}}{35}}+{\frac{8\, \left ( \cosh \left ( b{x}^{2}+a \right ) \right ) ^{2}}{35}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.19697, size = 170, normalized size = 2.54 \begin{align*} \frac{e^{\left (7 \, b x^{2} + 7 \, a\right )}}{1792 \, b} + \frac{7 \, e^{\left (5 \, b x^{2} + 5 \, a\right )}}{1280 \, b} + \frac{7 \, e^{\left (3 \, b x^{2} + 3 \, a\right )}}{256 \, b} + \frac{35 \, e^{\left (b x^{2} + a\right )}}{256 \, b} - \frac{35 \, e^{\left (-b x^{2} - a\right )}}{256 \, b} - \frac{7 \, e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{256 \, b} - \frac{7 \, e^{\left (-5 \, b x^{2} - 5 \, a\right )}}{1280 \, b} - \frac{e^{\left (-7 \, b x^{2} - 7 \, a\right )}}{1792 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.87034, size = 329, normalized size = 4.91 \begin{align*} \frac{5 \, \sinh \left (b x^{2} + a\right )^{7} + 7 \,{\left (15 \, \cosh \left (b x^{2} + a\right )^{2} + 7\right )} \sinh \left (b x^{2} + a\right )^{5} + 35 \,{\left (5 \, \cosh \left (b x^{2} + a\right )^{4} + 14 \, \cosh \left (b x^{2} + a\right )^{2} + 7\right )} \sinh \left (b x^{2} + a\right )^{3} + 35 \,{\left (\cosh \left (b x^{2} + a\right )^{6} + 7 \, \cosh \left (b x^{2} + a\right )^{4} + 21 \, \cosh \left (b x^{2} + a\right )^{2} + 35\right )} \sinh \left (b x^{2} + a\right )}{4480 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 12.1008, size = 94, normalized size = 1.4 \begin{align*} \begin{cases} - \frac{8 \sinh ^{7}{\left (a + b x^{2} \right )}}{35 b} + \frac{4 \sinh ^{5}{\left (a + b x^{2} \right )} \cosh ^{2}{\left (a + b x^{2} \right )}}{5 b} - \frac{\sinh ^{3}{\left (a + b x^{2} \right )} \cosh ^{4}{\left (a + b x^{2} \right )}}{b} + \frac{\sinh{\left (a + b x^{2} \right )} \cosh ^{6}{\left (a + b x^{2} \right )}}{2 b} & \text{for}\: b \neq 0 \\\frac{x^{2} \cosh ^{7}{\left (a \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.30133, size = 146, normalized size = 2.18 \begin{align*} -\frac{{\left (1225 \, e^{\left (6 \, b x^{2} + 6 \, a\right )} + 245 \, e^{\left (4 \, b x^{2} + 4 \, a\right )} + 49 \, e^{\left (2 \, b x^{2} + 2 \, a\right )} + 5\right )} e^{\left (-7 \, b x^{2} - 7 \, a\right )} - 5 \, e^{\left (7 \, b x^{2} + 7 \, a\right )} - 49 \, e^{\left (5 \, b x^{2} + 5 \, a\right )} - 245 \, e^{\left (3 \, b x^{2} + 3 \, a\right )} - 1225 \, e^{\left (b x^{2} + a\right )}}{8960 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]